package com.block.datapush.form.item.util;

import com.block.common.enums.BaseTypeInfoEnum;

public class YiXinUtil {

    public static String getLoanAmount(String loanAmount){
        return BaseTypeInfoEnum.LoanAmount.getEntryByValue(loanAmount).getValue();
    }


    public static String getZhiMa(String zhimaScore) {
        return BaseTypeInfoEnum.ZhimaScore.getNameByValue(zhimaScore);
    }

    public static String getBaiTiao(String baitiao) {
        return BaseTypeInfoEnum.Baitiao.getNameByValue(baitiao);
    }

    public static String getYuQi(String yuqi) {
        return BaseTypeInfoEnum.Yuqi.getNameByValue(yuqi);
    }

    public static String getSheBao(String socialInsurance) {
        return BaseTypeInfoEnum.SocialInsurance.getNameByValue(socialInsurance);
    }

    public static String getGjj(String gjj) {
        return BaseTypeInfoEnum.Gjj.getNameByValue(gjj);
    }

    public static String getBaoDan(String insurance) {
        return BaseTypeInfoEnum.Insurance.getNameByValue(insurance);
    }

    public static String getHouse(String house) {
        return BaseTypeInfoEnum.House.getNameByValue(house);
    }

    public static String getCar(String car) {
        return BaseTypeInfoEnum.Car.getNameByValue(car);
    }
}
